
body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

.intro-section {
  background-color: #a50044;
  color: #fff;
  padding: 40px 20px;
  border-radius: 0 0 60px 60px;
  text-align: center;
  }

.intro-section h2 {
  font-size: 30px;
  font-weight: bold;
  font-family: 'El Messiri', sans-serif;
}

.intro-section h2 span {
  transition: color 0.4s ease;
}

/* اللون الأساسي لكل سبان */
.intro-section .who {
  color: #000;
}
.intro-section .we {
  color: #fff;
}

/* الهوفر */
.intro-section .who:hover {
  color: #ff4081;
}
.intro-section .we:hover {
  color: #ff4081;
}


.intro-section p {
  font-size: 18px;
  line-height: 2;
  max-width: 850px;
  margin: 30px auto;
  text-align: justify;
  text-align-last: center;

}

.info-box {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  background-color: #F7E8EB;
  border-radius: 25px;
  padding: 40px 30px;
  margin: -40px auto 40px;
  max-width: max-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-box img {
  width: 430px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: auto;
  }

.info-box .text {
  max-width: 650px;
}

.info-box .text h3 {
  font-size: 28px;
  color: #000;
  font-weight: bold;
  margin-bottom: 0px;
  text-align: center;
  }

.info-box .text p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;

}

.vision-message-goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.vision-message-goals .left-col {
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vision-message-goals .right-col {
  flex: 1 1 300px;
  max-width: 500px;

}

.vision-message-goals .box {
  background-color: #fff;
  border-radius: 15px;
  padding-right: 30px;
  padding-left: 30px;    
}

.vision-message-goals .box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.vision-message-goals .box h3 i {
  margin-right: 10px;
}

.vision-message-goals .box p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
  margin: 0;
  }

.vision-message-goals .box ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  }

.vision-message-goals .box ul.checklist li {
  font-size: 16px;
  line-height: 2.6;
  color: #333;
  margin-bottom: 8px;
  position: relative;
  text-align: justify;
}

.vision-message-goals .box ul.checklist li::before {
  content: "✔";
  color: #d47124;
  padding-right: 10px;

}

.values-section {
  background-color: #F7E8EB;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.values-section .section-header {
  font-size: 28px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 5px;
}

.values-section p {
  /* font-weight: bold; */
  padding-top: 0px;
  color: black;
  font-size: 16px;
}

.structure-section {
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
  background-image: url('../Images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  color: #a50044; /* لو الخلفية فاتحة والنص غامق */
}

.structure-section p{
  /* font-weight: bold; */
  padding-top: 0px;
  color: black;
  font-size: 17px;
}

.values-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  }

.values-box div {
  background-color: #fff;
  padding: 10px 50px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.values-box div:hover{
  transform: translateY(-3px);
  background-color: #a50044;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.structure-section .levels {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 30px auto 0;
}

.structure-section .levels div {
  background-color: #a50044;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}

.structure-section .levels div:hover{
  transform: translateY(-6px);
    background-color: #a50044;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.structure-section .levels div:nth-child(2) {
  background-color: #F7E8EB;
  color: black;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}

.structure-section .levels div:nth-child(2):hover{
  transform: translateY(-6px);
  background-color: #a50044;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.structure-section .levels div:nth-child(3) {
  background-color: #F7E8EB;
  color: black;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}
.structure-section .levels div:nth-child(3):hover{
  transform: translateY(-6px);
  background-color: #a50044;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.awards-box {
  direction: ltr;
  text-align: left;
  background-color: #F7E8EB;
  padding: 40px;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  }

.awards-box .section-header {
  font-size: 28px;
  font-weight: bolder;
  color: #a50044;
  margin-bottom: 10px;
  text-align: center;
}

.awards-box p {
  font-weight: bold;
  padding-top: 0px;
  color: black;
  text-align: center;
  margin-bottom: 20px;
  margin-right: 420px;
  margin-left: 345px;
  border-bottom: 2px solid #a5004519;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  /* border-bottom: 1px solid #ddd; */
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.award-item .label {
  width: 170px;
  min-width: 170px;
  font-size: 17px;
  font-weight:bold;
  color: #a50044;
  text-align: left;
}

.award-item .value {
  flex: 1;
  font-size: 17px;
  color: #333;
  line-height: 1.6;
  margin-left: auto;
}

.networks-box {
  background-color: #F7E8EB;
  /* background-image: url(../Images/الشبكات\ والإتلافات.png); */
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
  transition: transform 0.3s ease;
}

.networks-box h2 {
  font-size: 28px;
  font-weight: bold;
  color: #a50044;
  margin-bottom: 20px;
}

.networks-box .lists {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.networks-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.networks-box ul li {
  margin-bottom: 10px;
  background-color: white;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  color: #333;
  font-weight: 600;
  padding: 15px;
  direction: ltr;
  text-align: left;   
}

.networks-box ul li .custom-arrow {
  color: #a50044; 
  margin-right: 10px;
  margin-left: 20px;
  font-size: 18px; 
  vertical-align: middle;
}

/* كلاس الاهتزاز */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

.networks-box:hover {
  animation: shake 0.4s;
}


.lists li {
  transition: transform 0.3s ease;
}

.lists li:hover {
  animation: shake 0.3s;
}


/* responsive sections */
@media (max-width: 768px) {

  body {
    font-size: 14px !important;  /* تصغير الخط العام */
  }

  /* النافبار */
  header {
    height: auto !important;
    padding: 10px 20px !important;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative !important;
    z-index: 1000;
  }

  header > div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
  }

  /* الشعار */
  header img {
    height: 40px !important;
    margin: 0 auto !important;
  }

  /* القوائم */
  nav ul {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
  }

  nav ul li {
    width: 100% !important;
    text-align: center !important;
  }

  nav ul li a {
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: block;
    width: 100%;
  }

  /* أيقونة البحث */
  nav ul li a .search-icon {
    font-size: 18px !important;
  }

  /* زر العضوية */
  .membership-btn {
    min-width: 100% !important;
    font-size: 14px !important;
    height: 35px !important;
    border-radius: 20px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* الأقسام كلها تملأ العرض مع بادينج من الجوانب */
  .intro-section,
  .info-box,
  .vision-message-goals,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
  }

  /* جعل الخلفية الزهرية للأقسام التي لها خلفية تبقى مع البادينج */
  .intro-section,
  .info-box,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    background-color: #F7E8EB !important;
  }

  /* بعض الأقسام مثل intro-section محتفظة بخلفية العنابي */
  .intro-section {
    background-color: #a50044 !important;
    color: #fff !important;
  }

  /* تصغير حجم الصور داخل info-box */
  .info-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  /* تنظيم النص داخل info-box */
  .info-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* تصغير حجم العناوين */
  h2, h3 {
    font-size: 20px !important;
  }

  /* تصغير حجم الفقرات */
  p, li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* القوائم الفرعية داخل الفوتر تحفظ محاذاتها لليمين وتبدأ من نفس النقطة */
  footer ul {
    padding-right: 20px !important;
  }

  footer ul li {
    text-align: right !important;
    padding-right: 10px !important;
    margin-bottom: 8px !important;
  }

  /* الفوتر */
  footer div[style*="flex: 1"] {
    width: 100% !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  /* حاوية الفوتر */
  footer > div {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

}

 .footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }

  .footer-link:hover {
    color: #F7E8EB;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  }

  .footer-icon {
    background: white;
    color: black;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .footer-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .footer-icon:hover i {
    transform: scale(1.3);
    color: #B23048;
  }

  .footer-btn {
    background-color: white;
    color: #B23048;
    border: none;
    padding: 10px 25px;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
  }

  .footer-btn:hover {
    background-color: #F7E8EB;
    color: #B23048;
  }

/* التعديلات الخاصة بالريسبونسف */
/* responsive sections */
@media (max-width: 768px) {

  body {
    font-size: 14px !important;  /* تصغير الخط العام */
  }

  /* النافبار */
  header {
    height: auto !important;
    padding: 10px 20px !important;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative !important;
    z-index: 1000;
  }

  header > div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
  }

  /* الشعار */
  header img {
    height: 40px !important;
    margin: 0 auto !important;
  }

  /* القوائم */
  nav ul {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
  }

  nav ul li {
    width: 100% !important;
    text-align: center !important;
  }

  nav ul li a {
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: block;
    width: 100%;
  }

  /* أيقونة البحث */
  nav ul li a .search-icon {
    font-size: 18px !important;
  }

  /* زر العضوية */
  .membership-btn {
    min-width: 100% !important;
    font-size: 14px !important;
    height: 35px !important;
    border-radius: 20px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* الأقسام كلها تملأ العرض مع بادينج من الجوانب */
  .intro-section,
  .info-box,
  .vision-message-goals,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
  }

  /* جعل الخلفية الزهرية للأقسام التي لها خلفية تبقى مع البادينج */
  .intro-section,
  .info-box,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    background-color: #F7E8EB !important;
  }

  /* بعض الأقسام مثل intro-section محتفظة بخلفية العنابي */
  .intro-section {
    background-color: #a50044 !important;
    color: #fff !important;
  }

  /* تصغير حجم الصور داخل info-box */
  .info-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  /* تنظيم النص داخل info-box */
  .info-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* تصغير حجم العناوين */
  h2, h3 {
    font-size: 20px !important;
  }

  /* تصغير حجم الفقرات */
  p, li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* القوائم الفرعية داخل الفوتر تحفظ محاذاتها لليمين وتبدأ من نفس النقطة */
  footer ul {
    padding-right: 20px !important;
  }

  footer ul li {
    text-align: right !important;
    padding-right: 10px !important;
    margin-bottom: 8px !important;
  }

  /* الفوتر */
  footer div[style*="flex: 1"] {
    width: 100% !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  /* حاوية الفوتر */
  footer > div {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

}

